﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LegalAidPrint.aspx.cs"
    Inherits="GH.Web.UionReport.LegalAidPrint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>基层法律援助打印</title>
    <link href="../style/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #tabCard th
        {
            background-color: #B2DBF7;
            height: 24px;
        }
        #tabCard td
        {
            background-color: #FFFFFF;
            height: 24px;
            text-align: left;
        }
    </style>
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui-1.7.2.custom.css" />
    <link rel="stylesheet" type="text/css" href="../JqueryUI/themes/ui-lightness/jquery-ui-1.7.2.custom.css" />

    <script type="text/javascript" src="../javascript/jquery-1.3.2.js"></script>

    <script type="text/javascript" src="../javascript/jquery-ui-1.7.2.custom.js"></script>

    <script type="text/javascript" src="../javascript/messageBox.js"></script>

    <script type="text/javascript" src="../javascript/formValidator.js"></script>

    <script type="text/javascript" src="../javascript/formValidatorRegex.js"></script>

    <script type="text/javascript" src="../javascript/Public.js"></script>

    <script language="javascript">
        function printpreview() {// 打印页面预览
            dPrint.style.display = 'none';
            //tabCard.border = "1";
            wb.ExecWB(8, 1);
            wb.ExecWB(7, 1);
            //window.print();
            dPrint.style.display = 'block';
            //tabCard.border = "0";
        }

        function SetPrintSettings() {//控制"纵打、 横打、页面的边距"。

            // -- advanced features
            factory.printing.SetMarginMeasure(2)  // measure margins in inches
            factory.SetPageRange(false, 1, 3)    // need pages from 1 to 3

            factory.printing.printer = "Panasonic KX-P1121"
            factory.printing.copies = 2
            factory.printing.collate = true
            factory.printing.paperSize = "A4"
            factory.printing.paperSource = "Manual feed"

            // -- basic features
            factory.printing.header = false
            factory.printing.footer = false
            factory.printing.portrait = false
            factory.printing.leftMargin = 1.0
            factory.printing.topMargin = 1.0
            factory.printing.rightMargin = 1.0
            factory.printing.bottomMargin = 1.0
        }
        
    </script>

<%--    <script type='text/javascript'>
        $(document).ready(function() {

            SetReportIndex();
            function SetReportIndex() {
                var intRow = -2;
                $("#tabShow>tbody>tr").each(function(i, item) {
                    //跳过顶上的两行标题头
                    if (i > 0) {
                        //序号重新排序
                        $(this).find("td:eq(0)").text(intRow);
                        intRow++;
                    }
                })


            }
        });
    </script>--%>

</head>
<body>
    <center>
        <table width="width: 600px" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <div id='dPrint' style="text-align: right">
                        <img id="btnPrint" alt="打印" src="../Images/button/btnPrint.gif" onclick="printpreview();" />
                        <object classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" id="wb" name="wb" height="0"
                            width="0">
                        </object>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="height: 30px" align="center" class="style1">
                    <h3>
                        表一、<asp:Label ID="lblUnionName1" runat="server" Text=""></asp:Label>&nbsp;&nbsp;<asp:Label
                            ID="lblCurrentYea1" runat="server" Text=""></asp:Label>年度法律援助工作组织机构概况</h3>
                </td>
            </tr>
            <tr>
                <td valign="top" style="height: 110px;">
                    <table id="tabShow" style="width: 900px; background-color: Silver" cellpadding="0px"
                        cellspacing="0px" border="1">
                        <tr>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center" colspan="3">
                                劳动争议调解委员会
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center" colspan="3">
                                工会劳动法律监督委员会
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center" colspan="2">
                                职工法律援助委员会
                            </th>
                        </tr>
                        <tr>
                            <th style="height: 22px; width: 130px; background-color: #B2DBF7;">
                                厂（局）级是否建立
                            </th>
                            <th style="height: 22px; width: 120px; background-color: #B2DBF7;" align="center">
                                该委员会成立人数
                            </th>
                            <th style="height: 22px; width: 130px; background-color: #B2DBF7;" align="center">
                                本单位已参加劳动争议调解员培训人员数
                            </th>
                            <th style="height: 22px; width: 130px; background-color: #B2DBF7;" align="center">
                                厂（局）级是否建立
                            </th>
                            <th style="height: 22px; width: 120px; background-color: #B2DBF7;" align="center">
                                该委员会成立人数
                            </th>
                            <th style="height: 22px; width: 130px; background-color: #B2DBF7;">
                                本单位已参加劳动争议调解员培训人员数
                            </th>
                            <th style="height: 22px; width: 130px; background-color: #B2DBF7;" align="center">
                                厂（局）级是否建立
                            </th>
                            <th style="height: 22px; width: 120px; background-color: #B2DBF7;" align="center">
                                该委员会成立人数
                            </th>
                        </tr>
                        <tr>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= GetYesNoName(dsRecord.Tables[0].Rows[0]["厂级是否建立1"])%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["该委员会成员人数1"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["调解员培训人员"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= GetYesNoName(dsRecord.Tables[0].Rows[0]["厂级是否建立2"])%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["该委员会成员人数2"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["监督员培训人数"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= GetYesNoName(dsRecord.Tables[0].Rows[0]["厂级是否建立3"])%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["该委员会成员人数3"]%>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 30px" align="center" class="style1">
                    <h3>
                        表二、<asp:Label ID="lblUnionName2" runat="server" Text=""></asp:Label>
                        &nbsp;&nbsp;
                        <asp:Label ID="lblCurrentYear2" runat="server" Text=""></asp:Label>年度开展法律援助工作情况表</h3>
                </td>
            </tr>
            <tr>
                <td valign="top" style="height: 70px;">
                    <table id="Table1" style="width: 900px; background-color: Silver" cellpadding="0px"
                        cellspacing="0px" border="1">
                        <!--<thead style="text-align:center;" >-->
                        <tr>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center" colspan="3">
                                开展劳动争议调工作情况
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center" colspan="3">
                                工会劳动法律监督委员会
                            </th>
                        </tr>
                        <tr>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                当年受理劳动争议件数
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                受理的劳动争议涉及职工人员数
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                当年调解成功劳动争议件数
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                当年接待职工咨询法律人次
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                当年援助职工进行讼诉案件数
                            </th>
                            <th style="height: 22px; background-color: #B2DBF7;" align="center">
                                当年援助职工进行非讼诉案件数
                            </th>
                        </tr>
                        <tr>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["劳动争议件数"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["劳动争议职工人数"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["调节劳动争议件数"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["法律咨询人次"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["诉讼案件数"]%>
                            </td>
                            <td style="height: 22px; background-color: #FFFFFF;" align="center">
                                <%= dsRecord.Tables[0].Rows[0]["非诉讼案件数"]%>
                            </td>
                        </tr>
                        <!--</thead>-->
                        <!--<tbody id='content'>-->
                        <!--</tbody>-->
                    </table>
                </td>
            </tr>
        </table>
    </center>
</body>
</html>
